/**
 * @author        Nicolas Bottarini <nicolasbottarini@gmail.com>, 404 <http://www.proyecto404.com>
 * @version       $Rev: 3 $
 * @lastrevision  $Date: 2011-09-12 16:45:37 +0000 (Mon, 12 Sep 2011) $	 
 */
package com.proyecto404.core.configuration {
	import com.proyecto404.core.BaseObject;
	import com.proyecto404.core.collections.IIterator;
	import com.proyecto404.core.exception.AbstractMethodException;
	
	public class ConfigurationHandler extends BaseObject {
		private var _name:String;
		
		public function ConfigurationHandler(name:String) {
			_name = name;
		}
		
		/**
		 * @abstract
		 */
		public function addConfigurations(data:XML):void { throw new AbstractMethodException(); }
		
		/**
		 * @abstract
		 */
		public function get(configuration:String):* { throw new AbstractMethodException(); }
		
		/**
		 * @abstract
		 */
		public function contains(configuration:String):Boolean { throw new AbstractMethodException(); }
		
		public function get name():String {		
			return _name;
		}
		
		/**
		 * @abstract
		 */
		public function getConfigurations():IIterator { throw new AbstractMethodException(); }
	}
}